import path from 'path'
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

const rootPath = process.cwd()
const srcPath = path.resolve(rootPath, 'src')

// https://vitejs.dev/config/
export default defineConfig({
  resolve: {
    alias: {
      '@': srcPath,
    },
  },

  plugins: [react()],
})
